package day04;

public class ForDemo {
    public static void main(String[] args) {
        //for中的循环变量num的作用域，仅在当前for中
        for (int num=1;num<=9;num++){
            System.out.println(num+"*9="+num*9);
        }
        System.out.println("继续执行...");

        for (int num=1;num<=9;num+=2){
            System.out.println(num+"*9="+num*9);
        }
        System.out.println("继续执行...");

        for (int times=0;times<5;times++){
            System.out.println("行动是成功的阶梯...");
        }
        System.out.println("继续执行...");
    }
}
